<template>
  <div>
        <h1>Dashboard page</h1>
    缓存测试 <input type="text">
   <el-button type="primary">size改变</el-button>
    
    
  </div>
</template>

<script lang="ts">
// import { getCurrentInstance } from '@vue/runtime-core'
import { getCurrentInstance, defineComponent } from 'vue'
export default defineComponent( {
  name: 'Dashboard',
  setup(){
    const {proxy} =getCurrentInstance()!
    const sayHi=()=>{
      proxy?.$alert('恭喜你，这是一条成功的消息')
    }
    return {sayHi}
  }
})
</script>
<style lang="scss">
  .custom-class { // 自定义样式404
    font-size: 200px;
    color: green;
  }
</style>